package it.koutifaris.travianmap.view.mainview;

import it.koutifaris.travianmap.communication.mapdownloader.DownloadProgressHandler;

import java.util.Date;

import android.view.View.OnClickListener;

public interface ServerItemView {

	ServerItemView setIconClickHandler(OnClickListener handler);

	ServerItemView setLabel(String label);

	ServerItemView setlastUpdate(Date lastUpdate);

	DownloadProgressHandler getDownloadProgressHandler(OnDownloadFinishedHandler finishHandler);

	interface OnDownloadFinishedHandler {
		void onDownloadFinished();
	}

}
